dreamweaver.openDocumentFromSite()

Availability 3.0
Description Opens a document for editing in a new Dreamweaver window and gives it the focus. To the user, the effect is the same as double-clicking a file in the Site window. If the specified file is already open, the window containing the document comes to the front. The window containing the specified file becomes the currently selected document.
Note: This function cannot be called from behavior action or object files. An error will result.
Arguments fileName
The argument is the name of the file to be opened, expressed as a URL. If the URL is relative, it is relative to the file containing the script that called this function.
Returns The document object for the specified file. This is the same value that is returned by dreamweaver.getDocumentDOM().
Enabler None.